package com.weaver.drools.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class KeyUtil {

	public static String GeneratedValue(String rule){
		return rule+"-"+new SimpleDateFormat("HHmmss").format(new Date());
		
	}
	
	public static String GeneratedValue1(){
		return new SimpleDateFormat("HHmmss").format(new Date());
	}
}
